package cn.cqie.frame.bo.update;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author 谢一弘
 * @date 2021/9/2  15:13
 */
@Data
@ApiModel("更新用户")
public class UpdateUserReqBo implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(required = true, value = "状态，参见YesOrNo枚举")
    private String status;
    @ApiModelProperty(value = "用户Id")
    @TableField("userId")
    private Long userId;
    @ApiModelProperty(value = "角色Id")
    @TableField("roleId")
    private List<Long> roleIdList;
}
